import request from '../../utils/request'
//获取数据审核列表

export function getAllParentList(query){
  return request({
    url:"/system/CompassDiary/getAllParentList",
    method:"get",
    params:query
  })
}
//查询家长圈审核数据
export function queryAllParentList(data){
  return request({
    url:"/system/CompassDiary/getAllParentList",
    method:"get",
    params:data
  })
}
// //时间搜索
// export function searchAllParentList(data){
//   return request({
//     url:"/system/CompassDiary/getAllParentList",
//     method:"get",
//     data:data
//   })
// }
//获取回复消息评论信息
export function getCommentData(id){
  return request({
    url:"/system/CompassDiaryReply/" +id,
    method:"get",
  })
}
export function getDiaryData(id){
  return request({
    url:"/system/CompassDiaryComment/" +id,
    method:"get",
  })
}

//获取评论回复信息
export function getDiaryCommentData(id){
  return request({
    url:"/system/CompassDiaryReply/" +id,
    method:"get",
  })
}
//获取日记评论详细信息
export function getDiaryDiaryData(id){
  return request({
    url:"/system/CompassDiary/" +id,
    method:"get",
  })
}
//删除日记评论
export function delCommenData(id){
  return request({
    url:"/system/CompassDiaryComment/" +id,
    method:"delete",
  })
}
//删除家长圈回复
export function delReportData(id){
  return request({
    url:"/system/CompassDiaryReply/" +id,
    method:"delete",
  })
}
//删除家长圈日记
export function delDiarytData(id){
  return request({
    url:"/system/CompassDiary/" +id,
    method:"delete",
  })
}
